<?php
namespace app\model;

class M_fields
{
    //字段数据
    public static $fields=array();

    public static function getFields(){
        self::$fields["id"]=array(
            "type"=>"int",
        );
        self::$fields["table_name"]=array(
            "type"=>"str",
        );
        self::$fields["name"]=array(
            "type"=>"str",
        );
        self::$fields["title"]=array(
            "type"=>"str",
        );
        self::$fields["note"]=array(
            "type"=>"str",
        );
        self::$fields["type"]=array(
            "type"=>"str",
        );
        self::$fields["length"]=array(
            "type"=>"int",
        );
        self::$fields["html"]=array(
            "type"=>"str",
        );
        self::$fields["default_value"]=array(
            "type"=>"str",
        );
        self::$fields["option_value"]=array(
            "type"=>"str",
        );
        self::$fields["width"]=array(
            "type"=>"int",
        );
        self::$fields["height"]=array(
            "type"=>"int",
        );
        self::$fields["input_limit"]=array(
            "type"=>"str",
        );
        self::$fields["addition"]=array(
            "type"=>"str",
        );
        self::$fields["backend_show"]=array(
            "type"=>"int",
        );
        self::$fields["use_show"]=array(
            "type"=>"int",
        );
        self::$fields["sort"]=array(
            "type"=>"int",
        );
        self::$fields["create_time"]=array(
            "type"=>"int",
        );
        self::$fields["update_time"]=array(
            "type"=>"int",
        );
        return self::$fields;
    }
}